#ifndef _PROTECT_EXT_H
#define _PROTECT_EXT_H
#include "Protect_type.h"

extern uint16_t vBusTimes10;
extern uint8_t pwmTimerBreakFlag;
extern uint32_t protectFaultBitMap;
extern uint16_t protectFaultBitMap_LowWord;
extern uint16_t protectFaultBitMap_HighWord;

extern void protectSetFaultBit(FaultBit_t bit);
// extern void protectUpdateVbus(void);

extern void protectProcess(void);
#endif
